import {Router, Route} from 'dva/router';
import ComponentWarp from '../../component/ComponentWarp';
import Home from './route/Home';

export default ({history}) => (
	<Router history={history}>
		<Route component={ComponentWarp}>
			<Route path='/' component={Home} />
		</Route>
	</Router>
);